MetaAttributes patch

Hi, 

I couldn't get the meta attributes to work, so I made this patch. Hope everything is correct.... 

thanks
Simon