platform lib init fixed