fix config storage