remove useless print code