properly uninstalling previous version and actually cleaning all content...

...s of installation directory. Fixed #686