remove app def