add ico and fix bug