fix for old database entrys