fixed missing input tag! also fixed the tests!