fixing the fetch command