protect against sqluri=None