tidying up ip binding