fixe the mac os error on osgi container