don't crash if running outside a site