Correct errors in server and groups initialization