Fix exception in case of scopeField is nil