fix identify bug, closes #20