temp fix to 'if params'