some fixes for package list functionality