Removes not needed input_html
Fixed wrong variable name bug