remove bytes for python3