small tweak to allow for empty tags