fix a problem when last project is in state building