bugfix: negitive terrian.