fixed circular reference error.