update packages, fix bugs on ubuntu