delete state setup - fix #4