update packages
fix two crashes