moved the keytimeout in the statsComponent