revert input_tag and input_tag_last