[Fix] NPE on ptime from console