Update beacon_manager.rb

fix bug on calling range method