trying to track down random panic bug