minor fixes to terrain