Fixed apparent typing mistakes