Rewrite ghost var
Merge pull request #109 from bassosimone/devel_20140714

Rewrite ghost var