Fixed non loading terrain error. cleanup