added fallback value to avoid gs if no data in params