fixed a path error in addToProject