make bg with rect