Iinitialisiere tags array 

it throws an exception if tags are not set