take care of warnings