Iinitialisiere tags array 

it throws an exception if tags are not set
Merge pull request #3 from DavidBadura/patch-2

Initialize tags array