fix fetch data function name