added auto closing of some chars