fix community input bug