cleaning dead code from form-elements