USB Serial on Leonardo is affecting a sketch

I have 2 versions of the sketch

Sadly you haven't posted either sketch.