fix fuunction naming bug