Fix a bug in the project parser