Fix invalid syntax on toplevel assignments