fixing a bug with the getInfo validation