bugfix: works when user/client/server klasses are not defined by user