compiler: fix apply+local, remove context