Fixed silly npe.