removed debug bitmap write
fixed rpi build