fixed case where htcontexts wasn't making it into app context