there seem to be a bug in the implementation with grid. have to check it