fix for cleaning out bad image db info