removes 'initial do..end' from sample apps