GROOVY-6531: remove math for character