removed errors in getBG