cleanup actions and attributes