Fix for applyBeam