fix reql type