Bug in wrapper