added circular dependency check
0.2.6