remove unnecessary pkg
updating algorithm
conflicts