fix package controll installed packages. Fixes #1