save the BOLD function as dic and check if there exists any NaN