My plugin is too loud when I'm using input monitoring

Hello, could you help me to figure out the code problem that I have? I have an issue with my delay-LFO plugin, its very loud when I use it with input monitoring (over 100 dbs!)

I haven’t found in my code what its happening, without input monitoring it works well.