init terrain bug fix