check for empty metadata