fixed input validation on new message + new community