debugging obscure error...