fix config stuff