clean up dict slot attributes