handle empty uri params