fix indent and remove check ip