bugfix - geofencing.js