fix minor issue with metadata tag
add parameterless constructors for tags
fix issue with trailing null symbol