removed preview flicker