Bugfix inside register_class_secure.php