swap doesnt work with wrapper objects