correct module hierarchy