fix errors on android