Fix string/bytes creation