bug fix

fixed another bug resulting from bad hierarchy