make average scat work for missing res