Fix for NookST crashes (related to issue 1253)