double doh, remove cruft checking nonexistent column and fix the statustext check