fixed refresh loop with bbq n=NaN