trying to trim whitespace...throws exception when ok == ok? wtf?