Fixes bug with IP hexing