fixed wrong middleware import
Merge branch 'develop'