Bugfix in structure grid