simple warning fix for bitmap