Fix params.max in activitiService