fix escaping regualr symbols in string