works for presentation attr, but needs clean up