prevent foreach error on glob boxes