bgdata fix