Fix weird npe