cleaned gcc errors