remove debugging statement
Replace whitespace in extractor query
force text conversion for weight column in postgres