Fix bug with get remote data