add case insensitive flag to tr