 
   getFullPath: ->
     localDir = atom.config.get("md-writer.siteLocalDir")
-    fullPath = path.join(localDir, @getPostPath())
-    return atom.project.resolve(fullPath)
+    return path.join(localDir, @getPostPath())
 
   getPostPath: ->
-    path.join @pathEditor.getText(), @getFileName()
+    return path.join(@pathEditor.getText(), @getFileName())
 
   getFileName: ->
     date = @dateEditor.getText()


  generateFrontMatters: ->
    """
    ---
    layout: post
    title: '#{@titleEditor.getText()}'
    date: '#{@dateEditor.getText()} #{utils.getTimeStr()}'
    ---
    """

  convertTitle: (title) ->

    super

  updatePath: ->
    @message.text "Create Post: #{@getPostPath()}"

  display: ->
    @previouslyFocusedElement = $(':focus')
