convert bin2hex fixed