adds fix on syntax in registration/new and /edit