fixed grid import bugs