fix bug when there are no pubsub subscribers in project