print hex str fixed