Correct get params

Params hash would always use the default params and discarded the values that where passed. The changes ensures the correct parameters are used.