fixed typo in flat terrain