fixed main './' replace bug

Signed-off-by: TZ <atian25@qq.com>