Add an icon and fix a init bug