fix_path_error_of_layout