Fix duplicate function name