rid of warnings