make symlink work like other types