fixed an issue on android devices