corrections made to coproc and coproc_core