fixing two typos thanks to @ialphan