Fix unbury bugs
Merge pull request #535 from timrae/unburyBug

Fix unbury bug