addition of error messages to wrong registering parameters