Fix extra leaves