Bugfix: readd rootpath

ref. to https://github.com/Codiad/Codiad/issues/331