Fix typo in function slug