make static calls to work with rootPath