detect_dependencies issue fixed