> In fact there is already some code in put() that does this conversion. 

My bad I had no look a few lines below while debugging - thanks @bantu for the pointer

From my understanding we can move that line up before line 181 @icewind1991 agreed?

@bantu @icewind1991 you have my permission to push the change to this branch if agreed - THX :wink: