Handled Cyclic dependcies errors correctly