fix bug in final triger and quote