Fixed relative path issue in stats