fixed chrome bug, fixed end dead bug