fixed chrome compatibility issues