Stack overflow on line 225 IE Error