fix << before ? : bug