Fixed bug with incorrect online number

Code optimization
Code optimization
A little mistake in code