Fixed typo in RebuildMode