fixed bug with duplicate graphics showing up