fixed bug 'interface IBarPanel not found' [Closes #137]