 In the 1970s , a mixture of sand and cement was applied to the external faces of the mosque hoping that it would protect the mosque from getting damaged in the wind and rain . However , this treatment resulted in substantial damage to the building as moisture became trapped in the walls built of mud and started a deterioration process of the structure , with termites infesting the wooden supports under humid conditions . This resulted in part of the mosque collapsing and during the repair work it caused some distortions of the structural elements and the exterior of the mosque . 
