fix insertion of measure just before spanner