fixed crash due to querying of context property outside of isolate