introduce default configuration
fix bug in add-extension