Fixed bug with symlinks