fix bug of unresolved logical plan