Fix absolute path bug