fixes for running on older android devices