remove meta_id and type from code