fix resolve module view dir