fixed wrong middleware import again