Fix registration editor bug