Problem solved
HI, and Thank You.
I replaced LM317 as You sugested and bang everething is ok. Now I have 13V, 18V, and 0V when off. When I removed IC I noted that there was no heat transfer compound between heat sink and IC. I did it the proper way and now is ok
Thank You guys You are grait.