fixed to render view to be done after fetch