fix #28 where booleans are stored as integer and breaks get