Fixed some config issues