fixing rooturl jailpath, closes #583