remove case fold for entity fn.