fixed the getTaco_id in both its own function and in the phpapi class