fixing abspath issue