fixed qsParam function syntax