fix #589, toolbar "info" doesn't work in cwd