flickering fix