fixed validation of group name