removed old syntax in except clause of asscalar