small code tweak.
tweak warning message.