fix some missing return in coffee