update annotation extraction to v3.1
fix issue with spaces in annotation extraction