Fix compile warning in the new folder code