fixing errors i config