this might be problematic in the future if express-yui middleware gets more complicated or report errors.