fix moc issue