fix bug time as var
testing time error
testing time error v2
rm test code
use getTime to send to client
use getTime to send to client