fix for paramsMap null