fix packages issue