Fixed leftover function name bug