Fixed bug with nil project.