defensive coding for get_meta