added check on symbolic link

from v1.3