fixed compatible equipment type variable bug to be more readable