Fixed params bug