bug in public api