Fix for has_line