removes old application