correct empty msgid also for id based entries