cleanup, prepare for stylus