prevent foreach error on glob boxes 2