def fix_start_attributes(node):
    """Some nodes don't always have the `col_offset` property set by Astroid:
    Comprehension, ExtSlice, Index, Keyword, Module, Slice.
    """
    try:
        first_child = next(node.get_children())
        if node.fromlineno is None:
            node.fromlineno = first_child.fromlineno
        if node.col_offset is None:
            node.col_offset = first_child.col_offset
    except StopIteration:
        statement = node.statement()
        if statement is not node:
            if node.fromlineno is None:
                node.fromlineno = statement.fromlineno
            if node.col_offset is None:
                node.col_offset = statement.col_offset
        else:
            if node.fromlineno is None:
                node.fromlineno = 0
            if node.col_offset is None:
                node.col_offset = 0
    return node
