fixed some config issues