remove function appterminate