resolve some compiler error