Fixed crashes with missing program names