fix class variable and instance variable codetext