clean up registration form