fixed bg image bugs