fixed param check