fix display icon double variable statement