fix param filtering