fixed a gridmaker bug
fixed a gridmaker bug