fixed flickering