transform bytes to str