fixed grid sizes, added column check