make launch detector more flash efficient