fix to config