fix #fileability/ternproxy#1