fixed short path bug