main bg fix