remove getContext() from template