fix build with hex

Change-Id: I118a9c0858e7eec3e083004e0addc2d4f0318c55