remove metadata hacking. Fixes #78.