[api] fix some problems related to project status