handle gcc warnings around unused values and set bubt unread values