Corrected bug on bg due to tag on which it was on