fix import ordering for nested imports