clean up 3 warnings from gcc 4.6.3