dont generate url if params are missing