changed freeing on context to be function call instead of property
access