fix framework class()