hide flash when no flash