fix exclude moc and ui