fixed error in init script