fix package installation when list