fixed metadata conditionals