put projects in the right place and fixed all references