set processing flag to complete