Fix parameter type and a typo on string literal