as you post often, please follow the guideline to make things easier
Isolate your problem and work in small steps . Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want.
Guidelines—Asking Questions