delete old app before moving the new one