Fix typo with bash functions