fixes delete state on dashboard