typo patch. thanks to @QOAL
More fixes. thanks to @QOAL