fix readlink