fix some compiler errors