fixed readlink