add root dir definition to avoid compile error