Grid structure creation bug fixed