improve spectrum output