fixed connect-httpp middleware