fixes Class < Class Exception