wrong variable renamed in list api error puts