fix config model