fixes minor bugs with pebble lib