Fixed dep type issue.