fixed a path error in publish_from