fixes bug in IconHelper