simplified project to the max and fixed flicker issues