fixed bad wrapper call