fixed ValidateAli file parsing