At this point I don’t think this makes much sense without showing more of the code. Otherwise it’s just a guessing game.