safe xyz change check before inject