for redmine 2
use byteslice