handle bytes type
handle bytes type