fix nullpointerexceotion on ImageIcon