remove unused field input container, fix required attr