fix reflection error