added fallback for (probably innocent) absence of rbgen