setopts callbacks return ok