fix in wrapper