try 2 fix dem layer problems.