Fixed issue with the gc

Merged Tiago de Freitas Pereira requested to merge issue-45 into master

Merge request reports