#298 fixed osgi plugin