fixed url issue in history