fix a bug in weak ico display