fixed issues because of the ibeacon plugin upgraded