minor heirarchy bugfix