fix `local-transformer-expand' with 'top-level context