Fixed a little APICHECK issue