fix compilation error on UVa submission
update for WA