Remove ; from func snippet