Added: missing express compatibility trick in middleware loading