deleted old lines after nick's correction of unregistering the correct flavour of