modify extension lib