fix refresh screen on real device