fixed a bug toggling datatype in Athena