fixed nefarious refresh bug