fixed delete_token