remove unnecessary head info