clean sketchwriter a bit