fixed flickering test