Controversy arose during the making of the film due to 20th Century Fox's bulldozing and landscaping of the natural beach setting of Ko Phi Phi Le to make it more "paradise-like". The production altered some sand dunes and cleared some coconut trees and grass to widen the beach. Fox set aside a fund to reconstruct and return the beach to its natural state; however, lawsuits were filed by environmentalists who believed the damage to the ecosystem was permanent and restoration attempts had failed. Following shooting of the film, there was a clear flat area at one end of the beach that was created artificially with an odd layout of trees which was never rectified, and the entire area remained damaged from the original state until the tsunami of 2004.