only check absolute path