rm last printf in http