fix resolve path