fixed another bug with trace beam