fix trait context property