fixed some typing mistakes