delete old structure of application