The adismax must check if localParams are not null