fixing build for gridder