handle situation when no uri was provided