Fix segfault when starting the program due to wrong initializations.