fix flash use and hide notice in print