corrected table traversal and player tweak