fixed extends context issue