Fix disk type test problem.