turn off buffer autoresize