graphics clean up