remove meta data from structure