add error for local in checker