removed empty middleware