fixing some config stuff