correction of warnings on visual