made similiar fixes to thetesco module in relation to treturning the data