fixed a registration issue