Remove debugoutput
Fix set generation code