quick fix for adapter functions for input grids