cleaned up input elements