case checking fix in system loading