optimize and localize bg pic