render grid now works when grid is more than 2x2