cleanup operate_binary