Fix infoPin variable bug