Fixes config issues