Corrected segfault when recording
Corrected segfault when recording