Fixes nil moc problem