fixed problem with param names