Fix issue with compartment named 'compatment'

Minor correction on issue with compartment named 'compartment'