Fixes location attribute issue.

Fixes #39