update config and bugfix