fix including inner classes from packages