Fix for specindx mask