beacon plugin fix