fixed off by 1 error when checking for "N/A"