params bugfix