further fix to req response datatype handling