Express v4 compatibility fix