fixed the entry class