some function for parse queryParam