ticket:9 fix warnings