cleanup numeric validation