fixing wrapper config