fix type error and add content and bg images