add support for short-paths. fix #56