Fixed problems with osgi bundles