cleaned flet-ed func warnings, and supported union