all draft pages and tidy code