Fix mispelled function