trap for #971 until I can work out why it's doing it