fixed wrong middleware import again
Merge branch 'develop'