Fixed wrong warning message.