fix IE and Android issue