fixed android and html5 erros