fixes in new groupchats implementation, protection from unknown data in registration
form