perver_register fix