fix spans for let in IDE