GRIM: fixed compilation error