Added 100nF to input of LM317, like recommanded in the datasheet.