Fixed some hierarchal errors.