Fixed #1: Should not throw errors when no header tags is present