try to fix circular dependency of libraries