fix hang