fixes scgi interface