Much better. Maybe by showing some more of the KiX script, other solutions can be given.