fix resolve error