Fix param passing