fix to terrain