Fixed the hanging bug.