remove unnecessary packges