Cleanup of sketch