fixed bug in internal class