fix config usage