mark the process done