fixed registration edit syntax error