updated params bug