Fix syntax error in lib_curate