reverting changes for wrapper