Minor fix to prevent crash on startup