graphics object cleanup added