trying to fix resolve-path error