fixed programme delete