Fixed problem with param passing.