handle 'bytes' type