change param type of http get optional params