fix bug that persists the current settings

https://en.wikipedia.org/w/index.php?title=User_talk:Kenrick95&diff=610379226&oldid=516685224