Removed problematic line of code that was generating a warning on each run