Fix where uri path is empty