Remove compile warning, fix typo