@Evg not a good fit for code review. Only refer users to code review how got
complete and working code already. That exchange is solely about iteratively improving skills, not about any form of debugging. Only in rare cases, you will be pointed out actual, not yet realized issues by reviewers, but generally it's just about honing best practices, which would be a bad fit for this site in return. —
Ext3h 57 secs ago