fix osgi integration