Use history and remove the not found check on html version