setbg fix space bug