removed some unused code in app