Adapt wrong imports