bug in with clause function

if bbox is undefined, don't wrap it in text, just return undefined