Update beacon_manager.rb

remove unnecessary code