Fix some typo bugs in the original repo so it can build