datatype workaround