fix abs path
fix require from subpath