fix regression in assign to classes
fix small bug in import_with_match.js