removes the hex suffix