fixed yet another bug with trace beam