Fixing str conversion