removing buggy spectrum polarity detection