add OPEN_STREAM in error_ctrl.h