Fixes package reinstall issue