t.x0 = event.x! fix
fixed with comment