Fixed bug with hanging analysis