correct the wrapper