fix warning stuff