Fix incorrect use of coxpcall

require "coxpcall" returns a table