refactor bg image