fixing bugs with new Chrome Exception Handling