Fix unclosed string element