fixed terrain layers and some other things