bug fix to allow SET http server to work properly