fix trailing quotes