remove redundant internal class