Fixed a bug in the installer, also removing a typo somewhere else.

Signed-off-by: Kwpolska <kwpolska@gmail.com>