recursively check for preview output