fixed the circle and rectangle class