solve two bugs: flymake, org-publish dir