dirty but working now for bamboo 5.2