cleaned up the print icon code