move type dependency to correct field