refix parse_data for metadata longer than data