fixed error in Leisure version of setDataTypeAnno