adjust attr for circle and rect