fix generator path error