fix duplicate function name