add dock cleanup and fix error if symlink exists
for mac installation