fix #8473
Merge pull request #8477 from ivarne/edit-jl

fix #8473