Incorrect function declaration

A function signature fixed and a possible cut n paste typo