Function name bug fix