workaround performance issues on android