Removed globalcursectnum global