Bug in calling callback for fetch contained