Remove bad packages