modify get params method