Fixed usage of init_xfm