fixed issue with correct overwriting symlink