fixed bugs for low devices