fix some compiler error.