fixed abspath error