Fixed return type

From bytes to str