Error: syntax error, unexpected end of file: Category not found