fixed NPE
now the pkiconsole can be started (still not work due to serialization
problem)