fix pebble bug