fixes in static extension