Demolition and reclaiming materials 'Demolish' button persists

On activating the demolish button a message ‘Illegal arguments. (click to dismiss)’ is posted. Can this be corrected so that the buildings are demolished and materials reclaimed without the demolish button persisting please.

Which of your buildings are your trying to demolish? I will have to try for myself to see what the logs show.

The issue has resolved. After pressing demolish on the Smelter in infrastructure on buildings window, materials were deposited several minutes later. However the demolished building remained in the buildings infrastructure list until end of session.
Thank you.