resolve the exception of circular dependecies problem