fixed nefarious bug