undo the app model stuff