Fixed passed params bug