fix deactivate link