fixed project type bug