fixed abnormal query param behaviour