Fix error message on cyclical dependencies