correct params-check