Corrected a few minor speed mistakes