fixed bug in resolving abs paths