fix for http://www.ecwid.com/forums/showpost.php?p=73485