fixed type when creating the pebble endpoint