Make sure after you met and answered the elder, you find the eighth gym leader (Clair) to collect the TM. After collecting the TM, go back to meet the elder...
Make sure the hook is going all the way down. Some clasps will only close completely in one direction. In other words, take out the hook, turn it 180 and...