sample 8: fix bitmap error