handle missing query param