cleaning registration view