fix more str vs Molecule comparison bug