remove unused `is_was` variable