fixed typo in wrapper