modify genpath, don't consider time