fixed bugs in BeamSplitter functions