fixed bug with adding namespace to numberOfRecords fixes #37