Green tea does have caffeine, so I'm not sure if your side effects are related to L-theanine. I also have trouble sleeping as well when I have afternoon caffeine. I don't feel awake, but I just cannot sleep. It took a while for me to associate this with late caffeine.