Changed onFetch event