Fixing adding entries.