#4: fix registration validation error