last edit revealed some missed stripping of whitespace