gras: fix #60 by checking done logic after handler