trying to track down a NPE