Bug fix for registration edit page