Fixed both model and entity Configuration