Better misid calculation