fix bug with type=input attribute removal on build