fixing team-inbox issue