Degradation of reef keeps coasts at risk