fix wrong instance lockfiles created by init script