Corrected some stupid mistakes.