fixed wrong warning in import