fix failing registration test