fixed context in class