corrected entity configuration