Added validation to check if go is null before changing speed