added pathtoroot plugin
now using pathtoroot plugin
some fixes