fix root path and books path