fixed some mistakes.