fixed %ignoring nested classes