cleanup cc warnings