fix cast string to float/int/timestamp error.