it's last position of backslash; viewRoot by getting dir from outside.