simplify gcc issues