Bug #288 fix compilatio warnings