         .then (isExists) =>
           console.log isExists,@errorMsg
           unless isExists
-            @errorMsg.parent().addClass('hide')
+            @errorMsg.addClass('hide')
           else
-            @errorMsg.parent().removeClass('hide')
+            @errorMsg.removeClass('hide')
           @checkInput()
 
 

    if path isnt ""
      regEx = /^\w{6,32}$/
      if regEx.test path
        @errorMsg2.parent().addClass('hide')
      else
        @errorMsg2.parent().removeClass('hide')
      projectPath = @modulePath.html().trim()

      configPath = pathM.join projectPath,desc.ProjectConfigFileName

    flag2 = @moduleName.getText().trim() isnt ""
    # flag3 = @mainEntry.getText().trim() isnt ""
    flag4 = @modulePath.html().trim() isnt ""
    flag5 = @errorMsg.hasClass 'hide'
    flag6 = @errorMsg2.hasClass 'hide'

    if flag1 and flag2 and flag4 and flag5 and flag6
      @parentView.enableNext()
