fix flex bug on safira browser