fix spectrum resolution hack