gcc 4.3 warnings fixed