Fixed addEntry