syntax error in register_new fixed