#198: scope selection fixed