fix 50 moves rule