extra checks in Refresh.R