fixed dependency cycle in extension classes