Add ams packages to SFU template and fix enumitem bug