fix #335: dont use plan string as replace target in promisify