Correcting mistake I made earlier with 3 mages gate workaround. Stuck my code in wrong sections.