small fix in case of no params.