Fix inputs & malformed html