change config and fix bug

change config and fix bug