broken getIcon implementation