fix config stage